<?xml version="1.0" encoding="UTF-8"?>
<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.prime.com.tr/ui">
    <ui:composition template="/pages/layout/mainFormLayout.xhtml">
        <ui:define name="content">
            <h:panelGrid columns="3">
                <h:outputLabel value="Login:"/>
                <h:inputText id="username" value="#{usuarioBean.entity.username}" size="15" required="true"/>
                <p:message for="username"/>
                <h:outputLabel value="Passoword:"/>
                <h:inputSecret id="senha" value="#{usuarioBean.entity.password}" size="15" />
                <p:message for="senha"/>
            </h:panelGrid>
            <h:commandButton action="#{usuarioBean.login}" value="Logar"/>
        </ui:define>
    </ui:composition>
</html>
